They got no right to stop you or lock u up. If they do they are in deep deep shit cos you did not breach their immigration rules. You entered Malaysia via proper channels and proper documents and you did not overstay
Yesterday evening I drove family out of JB. At Woodlands customs the MY counter officer checked our passports and asked if we are living in JB. I said yes and he asked if we have a long stay permit. He said we are only having social stay. I basically just smiled and go. Anyone has this experience before? How to answer such questions?