I'm using this "tileset" as an A4
you have several problems here.
There are six different formats for tilesheets, containing four different types of tiles, and the RM-Engines require the exact positioning of a tile based on its type - you simply can't position any tile anywhere.
your example sheet contains three tiles - one ceiling type autotile and two wall type autotiles. And from the look of those tiles you made them without knowing what autotiles are. And that is why they mess up when used.
I suggest you go to the official blog and search for a tutorial "anatomy of an autotile", and then place your resulting tiles into an existing sheet (replacing only tiles of the same type), because you also cannot use an incomplete tilesheet, all tilesheets need to have the correct dimensions.
Theoretically you could fill a tilesheet with transparent tiles if you don't want the other tiles, but that you should only do when you know the exact placement of the tiles you do use.