MV Raise Impassible Tile Z-Index

I tried making a plugin that would render impassible tiles in front of (above) the player sprite but ultimately failed to get it right. I need this because I'm using an 8-way movement plugin and when the player crosses diagonally through an impassible tile, that tile is currently rendered behind the player sprite which is incorrect in most cases and clearly looks buggy.
However, when the player is moving up-left, or up-right, then the impassible sprite should indeed appear behind the player as it does currently. For example if the player is moving upwards past the corner of a building the player sprite should obscure the building tile. But when a player is moving downwards past a tree trunk the tree should obscure the player, currently the player sprite clips through the tree. I'd settle for a z-index higher than the player sprite for impassible tiles but context dependent z-index would be ideal. Can anyone help with this kind of plugin? Note I'm using RPG Maker MV
that is usually handled by star passability settings, and since that always had problems with larger sprites there have been scripts and plugins called "star passibility fix" for all makers.

I don't know if they're compatible with 8-dir-moves, but I suggest you search for them and test them out if on works.
that is usually handled by star passability settings, and since that always had problems with larger sprites there have been scripts and plugins called "star passibility fix" for all makers.

I don't know if they're compatible with 8-dir-moves, but I suggest you search for them and test them out if on works.
Thanks for the response, it seems I haven't made myself clear. Star passibility fix is not what I'm looking for. I don't have a problem with large player sprites. I simply need to permanently increase the z-index of all impassable tiles (marked with an x not a star) because when the player character moves diagonally it clips through the corner of those tiles. Increasing the z-index will cause other visual problems but the trade-off is preferable. Rather move under a tree/building than clip through it.
I could technically work around the issue by setting all tiles to star tiles and then use Yanfly's Region Restrictions to block tiles that should not be passed, but that would be an unfeasible amount of extra work to achieve something the tilesset manager already does. All I need is the z-index increased, surely this is trivial for anyone who's familiar with how RPG Maker render's tiles?
I mostly solved my problem by creating a plugin (with the help of ChatGPT) that makes tiles with a terrain tag of 1 impassible. That way I can mark a tile with a star so that it draws above the player and then tag it with a 1 to make it impassable. It's not ideal because tilesheet A doesn't allow star tiles but for things like tree trunks it's adequately solved the problem.

Original thread: https://forums.rpgmakerweb.com/threads/raise-impassible-tile-z-index.161948/